<?php

namespace Mogod\Core\View\Render;

/**
 *
 * Рендер представления
 *
 * @author goorus, morph
 *
 */
class ViewRender
{

	/**
	 * Воркер
	 *
	 * @var ViewRenderWorkerAbstract
	 */
	protected $worker;

	/**
	 *
	 * @return ViewRenderWorkerAbstract
	 */
	public function getWorker()
	{
		return $this->worker;
	}

	/**
	 *
	 * @param ViewRenderWorderAbstract $worker
	 * @return $this
	 */
	public function setWorker($worker)
	{
		$this->worker = $worker;
		return $this;
	}

}
